package gold.digger;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by fanzhenyu02 on 2020/6/27.
 * common problem solver template.
 */
public class LC858 {
    public long startExecuteTime = System.currentTimeMillis();


    class Solution {
        int mirrorReflection(int p, int q) {
            int cnt = 0;
            int point;
            while (true) {
                cnt++;
                if (cnt * q % p == 0) {
                    if (cnt % 2 == 0) {
                        point = 2;
                    } else {
                        point = cnt * q / p % 2;
                    }
                    break;
                }
            }
            return point;
        }
    }

    public void run() {
        Solution solution = new Solution();
        List<Integer> list = new ArrayList<>();
        System.out.println(solution.toString());
    }

    public static void main(String[] args) throws Exception {
        LC858 an = new LC858();
        an.run();

        System.out.println("\ncurrent solution total execute time: " + (System.currentTimeMillis() - an.startExecuteTime) + " ms.");
    }
}
